<?php /* Smarty version 2.6.19, created on 2009-02-05 16:23:19
         compiled from index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'index.tpl', 33, false),array('function', 'eval', 'index.tpl', 37, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "overall_header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['ismessage'] == true): ?>
<script type="text/javascript">
    <?php echo '
    function hide(id)
    {
        document.getElementById(id).style.display = "none";
        return;
    }
    '; ?>

</script>

<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> 
<div <?php if ($this->_tpl_vars['usererror'] != true): ?>id="infobar"<?php else: ?>id="errorbar"<?php endif; ?>><?php if (! $this->_tpl_vars['nohide']): ?><a href="#" onclick="hide('infobar');" title="Click to hide"><?php endif; ?><?php echo $this->_tpl_vars['infomessage']; ?>
<?php if (! $this->_tpl_vars['nohide']): ?></a><?php endif; ?></div>
</td> </tr> </table>
<?php elseif ($this->_tpl_vars['newpm']): ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> 
<div id="infobar"><a href="index.php?page=pmmain">You have a new private message, click here to read it now</a></div>
</td> </tr> </table>
<?php elseif ($this->_tpl_vars['nummessagepm'] > 0): ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"> 
<div id="infobar"><a href="index.php?page=pmmain">You have <?php echo $this->_tpl_vars['nummessagepm']; ?>
 unread private messages, click here to read them now</a</div>
</td> </tr> </table>
<?php endif; ?>

<center style="margin:20px;">
 <?php if ($this->_tpl_vars['extra'] != 'nomenu'): ?>   <div class="outside-box" style="height:135px;"><span style="text-align:left;"><img align="left" src="<?php echo $this->_tpl_vars['templateinfo']['imagedir']; ?>
logo.gif" alt="CMScout" /></span>
        <div style="text-align:right;">
        <?php if ($this->_tpl_vars['nummenucats']['top'] != ""): ?>
          <?php unset($this->_sections['cats']);
$this->_sections['cats']['name'] = 'cats';
$this->_sections['cats']['loop'] = is_array($_loop=$this->_tpl_vars['nummenucats']['top']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cats']['show'] = true;
$this->_sections['cats']['max'] = $this->_sections['cats']['loop'];
$this->_sections['cats']['step'] = 1;
$this->_sections['cats']['start'] = $this->_sections['cats']['step'] > 0 ? 0 : $this->_sections['cats']['loop']-1;
if ($this->_sections['cats']['show']) {
    $this->_sections['cats']['total'] = $this->_sections['cats']['loop'];
    if ($this->_sections['cats']['total'] == 0)
        $this->_sections['cats']['show'] = false;
} else
    $this->_sections['cats']['total'] = 0;
if ($this->_sections['cats']['show']):

            for ($this->_sections['cats']['index'] = $this->_sections['cats']['start'], $this->_sections['cats']['iteration'] = 1;
                 $this->_sections['cats']['iteration'] <= $this->_sections['cats']['total'];
                 $this->_sections['cats']['index'] += $this->_sections['cats']['step'], $this->_sections['cats']['iteration']++):
$this->_sections['cats']['rownum'] = $this->_sections['cats']['iteration'];
$this->_sections['cats']['index_prev'] = $this->_sections['cats']['index'] - $this->_sections['cats']['step'];
$this->_sections['cats']['index_next'] = $this->_sections['cats']['index'] + $this->_sections['cats']['step'];
$this->_sections['cats']['first']      = ($this->_sections['cats']['iteration'] == 1);
$this->_sections['cats']['last']       = ($this->_sections['cats']['iteration'] == $this->_sections['cats']['total']);
?>
          | <?php unset($this->_sections['itemloop']);
$this->_sections['itemloop']['name'] = 'itemloop';
$this->_sections['itemloop']['loop'] = is_array($_loop=$this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['numitems']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['itemloop']['show'] = true;
$this->_sections['itemloop']['max'] = $this->_sections['itemloop']['loop'];
$this->_sections['itemloop']['step'] = 1;
$this->_sections['itemloop']['start'] = $this->_sections['itemloop']['step'] > 0 ? 0 : $this->_sections['itemloop']['loop']-1;
if ($this->_sections['itemloop']['show']) {
    $this->_sections['itemloop']['total'] = $this->_sections['itemloop']['loop'];
    if ($this->_sections['itemloop']['total'] == 0)
        $this->_sections['itemloop']['show'] = false;
} else
    $this->_sections['itemloop']['total'] = 0;
if ($this->_sections['itemloop']['show']):

            for ($this->_sections['itemloop']['index'] = $this->_sections['itemloop']['start'], $this->_sections['itemloop']['iteration'] = 1;
                 $this->_sections['itemloop']['iteration'] <= $this->_sections['itemloop']['total'];
                 $this->_sections['itemloop']['index'] += $this->_sections['itemloop']['step'], $this->_sections['itemloop']['iteration']++):
$this->_sections['itemloop']['rownum'] = $this->_sections['itemloop']['iteration'];
$this->_sections['itemloop']['index_prev'] = $this->_sections['itemloop']['index'] - $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['index_next'] = $this->_sections['itemloop']['index'] + $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['first']      = ($this->_sections['itemloop']['iteration'] == 1);
$this->_sections['itemloop']['last']       = ($this->_sections['itemloop']['iteration'] == $this->_sections['itemloop']['total']);
?>
           <?php if ($this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 1): ?>
                <a href="index.php?page=<?php echo $this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
           <?php elseif ($this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 2 || $this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 3): ?>
                <a href="<?php echo $this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
           <?php elseif ($this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 4): ?>
                <?php echo smarty_function_eval(array('var' => $this->_tpl_vars['menu']['top'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']), $this);?>

           <?php endif; ?> |
          <?php endfor; endif; ?>
        <?php endfor; endif; ?>
        <?php endif; ?>
        </div>
	</div>
	<div class="outside-box" style="border-top: none;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td align="left" width="40%"><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['userdisp']), $this);?>

        </td>
        <td align="left">
        ..:.:.:: <?php echo $this->_tpl_vars['config']['troopname']; ?>
 ::.:.:..
        </td>
        </tr>
        </table>
	</div><?php endif; ?>
	<div class="outside-box" style="border-top: none;">
		<table cellspacing="0" cellpadding="0" border="0">
			<tr>
				 <?php if ($this->_tpl_vars['extra'] != 'nomenu'): ?><td valign="top">
                <?php unset($this->_sections['cats']);
$this->_sections['cats']['name'] = 'cats';
$this->_sections['cats']['loop'] = is_array($_loop=$this->_tpl_vars['nummenucats']['left']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cats']['show'] = true;
$this->_sections['cats']['max'] = $this->_sections['cats']['loop'];
$this->_sections['cats']['step'] = 1;
$this->_sections['cats']['start'] = $this->_sections['cats']['step'] > 0 ? 0 : $this->_sections['cats']['loop']-1;
if ($this->_sections['cats']['show']) {
    $this->_sections['cats']['total'] = $this->_sections['cats']['loop'];
    if ($this->_sections['cats']['total'] == 0)
        $this->_sections['cats']['show'] = false;
} else
    $this->_sections['cats']['total'] = 0;
if ($this->_sections['cats']['show']):

            for ($this->_sections['cats']['index'] = $this->_sections['cats']['start'], $this->_sections['cats']['iteration'] = 1;
                 $this->_sections['cats']['iteration'] <= $this->_sections['cats']['total'];
                 $this->_sections['cats']['index'] += $this->_sections['cats']['step'], $this->_sections['cats']['iteration']++):
$this->_sections['cats']['rownum'] = $this->_sections['cats']['iteration'];
$this->_sections['cats']['index_prev'] = $this->_sections['cats']['index'] - $this->_sections['cats']['step'];
$this->_sections['cats']['index_next'] = $this->_sections['cats']['index'] + $this->_sections['cats']['step'];
$this->_sections['cats']['first']      = ($this->_sections['cats']['iteration'] == 1);
$this->_sections['cats']['last']       = ($this->_sections['cats']['iteration'] == $this->_sections['cats']['total']);
?>
                <div style="padding-bottom: 3px;">
             <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['showhead']): ?><div class="nav-title"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
 ::.:.:..</div><?php else: ?><div class="nav-title">::.:.:..</div><?php endif; ?>

            <?php unset($this->_sections['itemloop']);
$this->_sections['itemloop']['name'] = 'itemloop';
$this->_sections['itemloop']['loop'] = is_array($_loop=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['numitems']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['itemloop']['show'] = true;
$this->_sections['itemloop']['max'] = $this->_sections['itemloop']['loop'];
$this->_sections['itemloop']['step'] = 1;
$this->_sections['itemloop']['start'] = $this->_sections['itemloop']['step'] > 0 ? 0 : $this->_sections['itemloop']['loop']-1;
if ($this->_sections['itemloop']['show']) {
    $this->_sections['itemloop']['total'] = $this->_sections['itemloop']['loop'];
    if ($this->_sections['itemloop']['total'] == 0)
        $this->_sections['itemloop']['show'] = false;
} else
    $this->_sections['itemloop']['total'] = 0;
if ($this->_sections['itemloop']['show']):

            for ($this->_sections['itemloop']['index'] = $this->_sections['itemloop']['start'], $this->_sections['itemloop']['iteration'] = 1;
                 $this->_sections['itemloop']['iteration'] <= $this->_sections['itemloop']['total'];
                 $this->_sections['itemloop']['index'] += $this->_sections['itemloop']['step'], $this->_sections['itemloop']['iteration']++):
$this->_sections['itemloop']['rownum'] = $this->_sections['itemloop']['iteration'];
$this->_sections['itemloop']['index_prev'] = $this->_sections['itemloop']['index'] - $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['index_next'] = $this->_sections['itemloop']['index'] + $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['first']      = ($this->_sections['itemloop']['iteration'] == 1);
$this->_sections['itemloop']['last']       = ($this->_sections['itemloop']['iteration'] == $this->_sections['itemloop']['total']);
?>
                <?php $this->assign('itemid', $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['id']); ?>
               <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 1): ?>
                    <a href="index.php?page=<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
&amp;menuid=<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['id']; ?>
" class="nav-link"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
               <?php elseif ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 2 || $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 3): ?>
                    <a href="<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
" class="nav-link"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
               <?php elseif ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 4): ?>
               <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['numitems'] > 1): ?><br /><?php endif; ?>
                    <div class="inside-box"><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']), $this);?>
</div>
                    <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['numitems'] > 1): ?><br /><?php endif; ?>
               <?php endif; ?>
               <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitems'] != 0): ?>
                   <?php unset($this->_sections['subitemloop']);
$this->_sections['subitemloop']['name'] = 'subitemloop';
$this->_sections['subitemloop']['loop'] = is_array($_loop=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitems']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['subitemloop']['show'] = true;
$this->_sections['subitemloop']['max'] = $this->_sections['subitemloop']['loop'];
$this->_sections['subitemloop']['step'] = 1;
$this->_sections['subitemloop']['start'] = $this->_sections['subitemloop']['step'] > 0 ? 0 : $this->_sections['subitemloop']['loop']-1;
if ($this->_sections['subitemloop']['show']) {
    $this->_sections['subitemloop']['total'] = $this->_sections['subitemloop']['loop'];
    if ($this->_sections['subitemloop']['total'] == 0)
        $this->_sections['subitemloop']['show'] = false;
} else
    $this->_sections['subitemloop']['total'] = 0;
if ($this->_sections['subitemloop']['show']):

            for ($this->_sections['subitemloop']['index'] = $this->_sections['subitemloop']['start'], $this->_sections['subitemloop']['iteration'] = 1;
                 $this->_sections['subitemloop']['iteration'] <= $this->_sections['subitemloop']['total'];
                 $this->_sections['subitemloop']['index'] += $this->_sections['subitemloop']['step'], $this->_sections['subitemloop']['iteration']++):
$this->_sections['subitemloop']['rownum'] = $this->_sections['subitemloop']['iteration'];
$this->_sections['subitemloop']['index_prev'] = $this->_sections['subitemloop']['index'] - $this->_sections['subitemloop']['step'];
$this->_sections['subitemloop']['index_next'] = $this->_sections['subitemloop']['index'] + $this->_sections['subitemloop']['step'];
$this->_sections['subitemloop']['first']      = ($this->_sections['subitemloop']['iteration'] == 1);
$this->_sections['subitemloop']['last']       = ($this->_sections['subitemloop']['iteration'] == $this->_sections['subitemloop']['total']);
?>
                       <?php if ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 1): ?>
                           <a href="index.php?page=<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['link']; ?>
&amp;menuid=<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['parent']; ?>
" class="nav-link">&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
                       <?php elseif ($this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 2 || $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 3): ?>
                            <a href="<?php echo $this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['link']; ?>
" class="nav-link">&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
                       <?php endif; ?>
                   <?php endfor; endif; ?>
               <?php endif; ?>
              <?php endfor; endif; ?>
              </div>
            <?php endfor; endif; ?>
  				</td><?php endif; ?>
				<td valign="top" width="100%" style="padding-left: 3px; padding-right: 3px;">
					<!-- NEWS-ITEM -->
                       <div style="padding-bottom: 3px;">
						<div class="inside-box" align="left">
                           <div style="float:left"><?php echo $this->_tpl_vars['location']; ?>
 ::.::.:..</div><?php if ($this->_tpl_vars['editable'] || $this->_tpl_vars['addable']): ?><div style="float:right;">
                        <?php if ($this->_tpl_vars['editable'] == true): ?><a href="<?php echo $this->_tpl_vars['editlink']; ?>
"><img border="0" src="<?php echo $this->_tpl_vars['templateinfo']['imagedir']; ?>
edit.gif" alt="Edit this item" /></a><?php endif; ?>		
                        <?php if ($this->_tpl_vars['addable'] == true): ?><a href="<?php echo $this->_tpl_vars['addlink']; ?>
"><img border="0" src="<?php echo $this->_tpl_vars['templateinfo']['imagedir']; ?>
add.png" alt="Add a new item" /></a><?php endif; ?></div>
                    <?php endif; ?><br style="clear:both;" />
						</div>
                        <div class="inside-box" style="border-top: none;" align="left">
                        <?php if ($this->_tpl_vars['dataC'] == false): ?>
                            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['content']), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                        <?php else: ?>
                            <?php echo smarty_function_eval(array('var' => $this->_tpl_vars['content']), $this);?>

                        <?php endif; ?>
                        </div>
                    <?php if ($this->_tpl_vars['extra'] == 'nomenu'): ?>
                     <a href="javascript:close()">Close Window</a>
                    <?php endif; ?>
                    </div>
				</td><?php if ($this->_tpl_vars['extra'] != 'nomenu'): ?>
				<td valign="top">
                <?php unset($this->_sections['cats']);
$this->_sections['cats']['name'] = 'cats';
$this->_sections['cats']['loop'] = is_array($_loop=$this->_tpl_vars['nummenucats']['right']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cats']['show'] = true;
$this->_sections['cats']['max'] = $this->_sections['cats']['loop'];
$this->_sections['cats']['step'] = 1;
$this->_sections['cats']['start'] = $this->_sections['cats']['step'] > 0 ? 0 : $this->_sections['cats']['loop']-1;
if ($this->_sections['cats']['show']) {
    $this->_sections['cats']['total'] = $this->_sections['cats']['loop'];
    if ($this->_sections['cats']['total'] == 0)
        $this->_sections['cats']['show'] = false;
} else
    $this->_sections['cats']['total'] = 0;
if ($this->_sections['cats']['show']):

            for ($this->_sections['cats']['index'] = $this->_sections['cats']['start'], $this->_sections['cats']['iteration'] = 1;
                 $this->_sections['cats']['iteration'] <= $this->_sections['cats']['total'];
                 $this->_sections['cats']['index'] += $this->_sections['cats']['step'], $this->_sections['cats']['iteration']++):
$this->_sections['cats']['rownum'] = $this->_sections['cats']['iteration'];
$this->_sections['cats']['index_prev'] = $this->_sections['cats']['index'] - $this->_sections['cats']['step'];
$this->_sections['cats']['index_next'] = $this->_sections['cats']['index'] + $this->_sections['cats']['step'];
$this->_sections['cats']['first']      = ($this->_sections['cats']['iteration'] == 1);
$this->_sections['cats']['last']       = ($this->_sections['cats']['iteration'] == $this->_sections['cats']['total']);
?>
                <div style="padding-bottom: 3px;">
             <?php if ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['showhead']): ?><div class="nav-title"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
 ::.:.:..</div><?php else: ?><div class="nav-title">::.:.:..</div><?php endif; ?>

            <?php unset($this->_sections['itemloop']);
$this->_sections['itemloop']['name'] = 'itemloop';
$this->_sections['itemloop']['loop'] = is_array($_loop=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['numitems']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['itemloop']['show'] = true;
$this->_sections['itemloop']['max'] = $this->_sections['itemloop']['loop'];
$this->_sections['itemloop']['step'] = 1;
$this->_sections['itemloop']['start'] = $this->_sections['itemloop']['step'] > 0 ? 0 : $this->_sections['itemloop']['loop']-1;
if ($this->_sections['itemloop']['show']) {
    $this->_sections['itemloop']['total'] = $this->_sections['itemloop']['loop'];
    if ($this->_sections['itemloop']['total'] == 0)
        $this->_sections['itemloop']['show'] = false;
} else
    $this->_sections['itemloop']['total'] = 0;
if ($this->_sections['itemloop']['show']):

            for ($this->_sections['itemloop']['index'] = $this->_sections['itemloop']['start'], $this->_sections['itemloop']['iteration'] = 1;
                 $this->_sections['itemloop']['iteration'] <= $this->_sections['itemloop']['total'];
                 $this->_sections['itemloop']['index'] += $this->_sections['itemloop']['step'], $this->_sections['itemloop']['iteration']++):
$this->_sections['itemloop']['rownum'] = $this->_sections['itemloop']['iteration'];
$this->_sections['itemloop']['index_prev'] = $this->_sections['itemloop']['index'] - $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['index_next'] = $this->_sections['itemloop']['index'] + $this->_sections['itemloop']['step'];
$this->_sections['itemloop']['first']      = ($this->_sections['itemloop']['iteration'] == 1);
$this->_sections['itemloop']['last']       = ($this->_sections['itemloop']['iteration'] == $this->_sections['itemloop']['total']);
?>
               <?php $this->assign('itemid', $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['id']); ?>
               <?php if ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 1): ?>
                    <a href="index.php?page=<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
&amp;menuid=<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['id']; ?>
" class="nav-link"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
               <?php elseif ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 2 || $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 3): ?>
                    <a href="<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']; ?>
" class="nav-link"><?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
               <?php elseif ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['type'] == 4): ?>
	        <?php $this->assign('sideitemid', $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['id']); ?>
                    <div class="inside-box"><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['link']), $this);?>
</div>
               <?php endif; ?>
               <?php if ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitems'] != 0): ?>
                   <?php unset($this->_sections['subitemloop']);
$this->_sections['subitemloop']['name'] = 'subitemloop';
$this->_sections['subitemloop']['loop'] = is_array($_loop=$this->_tpl_vars['menu']['left'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitems']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['subitemloop']['show'] = true;
$this->_sections['subitemloop']['max'] = $this->_sections['subitemloop']['loop'];
$this->_sections['subitemloop']['step'] = 1;
$this->_sections['subitemloop']['start'] = $this->_sections['subitemloop']['step'] > 0 ? 0 : $this->_sections['subitemloop']['loop']-1;
if ($this->_sections['subitemloop']['show']) {
    $this->_sections['subitemloop']['total'] = $this->_sections['subitemloop']['loop'];
    if ($this->_sections['subitemloop']['total'] == 0)
        $this->_sections['subitemloop']['show'] = false;
} else
    $this->_sections['subitemloop']['total'] = 0;
if ($this->_sections['subitemloop']['show']):

            for ($this->_sections['subitemloop']['index'] = $this->_sections['subitemloop']['start'], $this->_sections['subitemloop']['iteration'] = 1;
                 $this->_sections['subitemloop']['iteration'] <= $this->_sections['subitemloop']['total'];
                 $this->_sections['subitemloop']['index'] += $this->_sections['subitemloop']['step'], $this->_sections['subitemloop']['iteration']++):
$this->_sections['subitemloop']['rownum'] = $this->_sections['subitemloop']['iteration'];
$this->_sections['subitemloop']['index_prev'] = $this->_sections['subitemloop']['index'] - $this->_sections['subitemloop']['step'];
$this->_sections['subitemloop']['index_next'] = $this->_sections['subitemloop']['index'] + $this->_sections['subitemloop']['step'];
$this->_sections['subitemloop']['first']      = ($this->_sections['subitemloop']['iteration'] == 1);
$this->_sections['subitemloop']['last']       = ($this->_sections['subitemloop']['iteration'] == $this->_sections['subitemloop']['total']);
?>
                       <?php if ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 1): ?>
                           <a href="index.php?page=<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['link']; ?>
&amp;menuid=<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['parent']; ?>
" class="nav-link">&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
                       <?php elseif ($this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 2 || $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['type'] == 3): ?>
                            <a href="<?php echo $this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['link']; ?>
" class="nav-link">&nbsp;&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['menu']['right'][$this->_sections['cats']['index']]['items'][$this->_sections['itemloop']['index']]['subitem'][$this->_sections['subitemloop']['index']]['name'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</a>
                       <?php endif; ?>
                   <?php endfor; endif; ?>
               <?php endif; ?>
              <?php endfor; endif; ?>
              </div>
            <?php endfor; endif; ?>
				</td>
                <?php endif; ?>
			</tr>
		</table>
	</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "overall_footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


